home *** CD-ROM | disk | FTP | other *** search
- y = _Y;
- x = _X;
- boxx = getProperty("/hands", _X);
- boxy = getProperty("/hands", _Y);
- if(boxx - "35" < x)
- {
- if(x < boxx + "35")
- {
- if(boxy - "30" < y)
- {
- if(y < boxy + "10")
- {
- tellTarget("/hands/box")
- {
- gotoAndPlay(2);
- }
- set("/:score",eval("/:score") + "1");
- tellTarget("/hands/box/fill")
- {
- gotoAndStop(eval("/:score"));
- }
- gotoAndPlay(1);
- }
- }
- }
- }
- if("430" < y)
- {
- gotoAndPlay(6);
- }
- y += eval("/:speed");
- _Y = y;
-